<div class="dialog-container mdd-dialog mdl-shadow--8dp mdl-layout--fixed-header SMES-dialog B0209Service-dialog c-mdd-page" ng-init="dialog.init();" style="background-color: #fafafa" page-type="Dialog" _transclude-elem="[object Object]">
    <div class="kmi-header-row">
        <div class="header-title" ng-bind="dialog._title | translate"></div>
        <!--More Menu-->

        <!--Close button-->
        <div class="kmi-side-btn right" ng-click="dialog.hide();">
            <img src="image/icons/clear.png" />
            <div class="kmi-can-click"></div>
        </div>
    </div>
    <div class="kmi-layout-main-content" style="flex: 1">
        <!--Page-->
        <div class="kmi-layout-page">
            <div class="mdd-layout__with-toolbar mdd-layout c-mdd-layout" layout-name="B0209Service" page-name="" page-type="Dialog" with-toolbar="Y" reload="N" _transclude-elem="[object Object]" style="grid-template-columns: repeat(12, auto 1fr)">
                <label class="label" ng-show="dialog._event['op_no'].isShown != 'N'" style="" ng-bind="'B0209Service.columns.op_no' | translate"></label>
                <div class="value" ng-show="dialog._event['op_no'].isShown != 'N'" style="grid-column-start: span 11"><label class="value" ng-bind="dialog.waitInfo.op_no" mdl-toast="{{dialog.waitInfo.op_no}}" mdl-toast-passive="true"></label></div>
                <label class="label" ng-show="dialog._event['plot_no'].isShown != 'N'" style="" ng-bind="'B0209Service.columns.plot_no' | translate"></label>
                <div class="value" ng-show="dialog._event['plot_no'].isShown != 'N'" style="grid-column-start: span 11"><label class="value" ng-bind="dialog.waitInfo.plot_no" mdl-toast="{{dialog.waitInfo.plot_no}}" mdl-toast-passive="true"></label></div>
                <label class="label" ng-show="dialog._event['qty'].isShown != 'N'" style="" ng-bind="'B0209Service.columns.qty' | translate"></label>
                <div class="value" ng-show="dialog._event['qty'].isShown != 'N'" style="grid-column-start: span 11"><label class="value" ng-bind="dialog.waitInfo.qty" mdl-toast="{{dialog.waitInfo.qty}}" mdl-toast-passive="true"></label></div>
                <div class="mdd-list c-mdd-list" ng-show="dialog._event['wait_reason_detail'].isShown != 'N'" style="height:{{dialog._event['B0209Service'].GetfillHeight()}};grid-column-start:span 24;" list-name="B0209_wait_reason_detail" list-bind="dialog.wait_reason_detail" list-alias="dialog.waitInfo.wait_reason_detail" enable-select="N" select-all="N" page-name="" page-type="Dialog" _transclude-elem="[object Object]">
                    <div class="kmi-list column-selector" kmi-scrollbar="120px" column-selector-id="B0209_wait_reason_detail" style="flex: 1">
                        <div class="kmi-list__header">
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.wait_reason_detail.reason_name'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objwait_reason_detail.header[0].isFilter">
                                    <input ng-model="dialog._objwait_reason_detail.filterColumns['reason_name']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objwait_reason_detail.header[0].isFilter = false;dialog._objwait_reason_detail.filterColumns['reason_name'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objwait_reason_detail.header[0].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objwait_reason_detail.header[0].isFilter = true">search</i>
                                    <label ng-bind="'B0209_wait_reason_detail.columns.reason_name' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objwait_reason_detail.queryOrder == 0">{{!dialog._objwait_reason_detail.header[0].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(0, 'reason_name', 'dialog._objwait_reason_detail');"></div>
                                </div>
                            </div>
                        </div>
                        <div class="kmi-list__row-content">
                            <div class="kmi-list__row" id="B0209_wait_reason_detail_result_list" ng-repeat="item in dialog._event['dialog.wait_reason_detail'].getPages(dialog.waitInfo.wait_reason_detail, dialog._objwait_reason_detail.PageConfig, dialog._objwait_reason_detail.filterColumns, dialog._objwait_reason_detail.header[dialog._objwait_reason_detail.queryOrder]) track by $index" ng-class="{'is-select':dialog._event['dialog.wait_reason_detail'].checkSelect(item, {index:$index, event:$event})}">
                                <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.reason_name" ng-if="dialog._event['dialog.wait_reason_detail.reason_name'].isShown != 'N'"></div>
                                <div class="kmi-can-click" ng-click="dialog._event['dialog.wait_reason_detail'].rowClick(item, {index:$index, event:$event});"></div>
                            </div>
                        </div>
                    </div>
                    <div class="page-content">
                        <div class="page-icon">
                            <img src="image/icons/dropleft.png" />
                            <div class="kmi-can-click" ng-click="dialog.prevPage(dialog._objwait_reason_detail.PageConfig);"></div>
                        </div>
                        <label ng-bind="dialog.pageInfo(dialog._objwait_reason_detail.PageConfig);"></label>
                        <div class="page-icon">
                            <img src="image/icons/dropright.png" />
                            <div class="kmi-can-click" ng-click="dialog.nextPage(dialog._objwait_reason_detail.PageConfig);"></div>
                        </div>
                    </div>
                </div>
                <label class="label" ng-show="dialog._event['confirm_type'].isShown != 'N'" style="grid-row-start: span 2" ng-bind="'B0209Service.columns.confirm_type' | translate"></label>
                <div class="value" ng-show="dialog._event['confirm_type'].isShown != 'N'" style="grid-row-start: span 2; grid-column-start: span 23">
                    <button class="mdl-button mdl-js-button kmi-checkbox" ng-click="dialog._event['confirm_type'].click('0', {event:$event});" ng-disabled="dialog._event['confirm_type'].isDisabled == 'Y'">
                        <img ng-if="dialog.confirm_type == '0'" src="image/icons/check1.png" />
                        <img ng-if="dialog.confirm_type != '0'" src="image/icons/check0.png" />
                        {{'B0209Service.displayValues.B0209_confirm_type.0' | translate}}</button
                    ><button class="mdl-button mdl-js-button kmi-checkbox" ng-click="dialog._event['confirm_type'].click('1', {event:$event});" ng-disabled="dialog._event['confirm_type'].isDisabled == 'Y'">
                        <img ng-if="dialog.confirm_type == '1'" src="image/icons/check1.png" />
                        <img ng-if="dialog.confirm_type != '1'" src="image/icons/check0.png" />
                        {{'B0209Service.displayValues.B0209_confirm_type.1' | translate}}</button
                    ><button class="mdl-button mdl-js-button kmi-checkbox" ng-click="dialog._event['confirm_type'].click('2', {event:$event});" ng-disabled="dialog._event['confirm_type'].isDisabled == 'Y'">
                        <img ng-if="dialog.confirm_type == '2'" src="image/icons/check1.png" />
                        <img ng-if="dialog.confirm_type != '2'" src="image/icons/check0.png" />
                        {{'B0209Service.displayValues.B0209_confirm_type.2' | translate}}</button
                    ><button class="mdl-button mdl-js-button kmi-checkbox" ng-click="dialog._event['confirm_type'].click('3', {event:$event});" ng-disabled="dialog._event['confirm_type'].isDisabled == 'Y'">
                        <img ng-if="dialog.confirm_type == '3'" src="image/icons/check1.png" />
                        <img ng-if="dialog.confirm_type != '3'" src="image/icons/check0.png" />
                        {{'B0209Service.displayValues.B0209_confirm_type.3' | translate}}</button
                    ><button class="mdl-button mdl-js-button kmi-checkbox" ng-click="dialog._event['confirm_type'].click('4', {event:$event});" ng-disabled="dialog._event['confirm_type'].isDisabled == 'Y'">
                        <img ng-if="dialog.confirm_type == '4'" src="image/icons/check1.png" />
                        <img ng-if="dialog.confirm_type != '4'" src="image/icons/check0.png" />
                        {{'B0209Service.displayValues.B0209_confirm_type.4' | translate}}</button
                    ><button class="mdl-button mdl-js-button kmi-checkbox" ng-click="dialog._event['confirm_type'].click('5', {event:$event});" ng-disabled="dialog._event['confirm_type'].isDisabled == 'Y'">
                        <img ng-if="dialog.confirm_type == '5'" src="image/icons/check1.png" />
                        <img ng-if="dialog.confirm_type != '5'" src="image/icons/check0.png" />
                        {{'B0209Service.displayValues.B0209_confirm_type.5' | translate}}</button
                    ><button class="mdl-button mdl-js-button kmi-checkbox" ng-click="dialog._event['confirm_type'].click('6', {event:$event});" ng-disabled="dialog._event['confirm_type'].isDisabled == 'Y'">
                        <img ng-if="dialog.confirm_type == '6'" src="image/icons/check1.png" />
                        <img ng-if="dialog.confirm_type != '6'" src="image/icons/check0.png" />
                        {{'B0209Service.displayValues.B0209_confirm_type.6' | translate}}
                    </button>
                </div>
            </div>
            <div class="mdd-button-tool">
                <div class="tool-bar"></div>
                <div class="tool-bar" style="justify-content: flex-end">
                    <div class="kmi-button kmi-button-confrim btn-confirm" ng-disabled="dialog._fn['Confirm'].isDisabled == 'Y'" ng-hide="dialog._fn['Confirm'].isShown == 'N'" style="width: 100px">
                        <label ng-bind="'common.btn.confirm' | translate"></label>
                        <div class="kmi-can-click" ng-click="dialog._fn['Confirm'].click('Confirm');"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
